package base.Day03;

public class OperationDemo4
{
    public static void main(String[] args)
    {
        OperationDemo4 operationDemo4 = new OperationDemo4();

    }
    private void evaluationTest()
    {
        // 扩展赋值带强转  转为原来变量的类型
        short s = 1;
        s += 10;  // 发生强转   s = (short)(s+10)
//        s = s+10;     会报错， 因为 两点
        int a = 10;
        a += 10;   // a = int(a+10);
        a *= 2;
        a /= 3;
        a %= 3;
        System.out.println(a);
    }
}
